﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using client.Settings;

namespace client.Managers.Registration
{
    public class RegistrationManager
    {
        /// <summary>
        /// Determines, whether application is registered
        /// </summary>
        /// <returns>Flag, <example>True - registered
        /// False - not registered</example>
        /// </returns>
        public static bool IsApplicationRegistered()
        {
            //For now, application is registered, just if users name was provided
            return !String.IsNullOrEmpty(UserSettings.UserName);
        }
    }
}
